package com.wmh.baseservice.robot.enums;

/**
 * @author 谢骏
 * 机器状态枚举
 */

public enum RobotStatusEnums {
    /**/
    LEAVE_UNUSED(1,"闲置"),
    RUNNING(2,"运行中"),
    LOST_CONNECTION(3,"已掉线"),
    TASK_STANDBY(4,"周期任务待机")
    ;

    final int id;
    final String name;

    RobotStatusEnums(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}
